package com.stephen.bp.hexin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("categories")
public class Category {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer parentId;
    private String title;
    private String imageUrl;
    private Integer isOpen;
    private Integer sort;
    private Integer level;
}